package org.feng.entity.result;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.feng.entity.SysDept;

import java.util.List;

/**
 * 部门树结果
 *
 * @author : FengShuai
 * @since : 2024/6/27 9:24
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Schema(name = "部门树结果")
public class SysDeptTreeResult extends SysDept {
    @Schema(title = "子部门")
    private List<SysDeptTreeResult> children;
}
